package com.idp.app.dto;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.Date;

/**
 * APP用户查询DTO类
 * @author King
 */
@Data
@ApiModel(description = "APP用户查询DTO类")
public class AppUserSearchDto implements Serializable {

	private static final long serialVersionUID = 1L;

	@ApiModelProperty("用户名")
	private String uname;
	@ApiModelProperty("手机号")
	private String phone;
	@ApiModelProperty("昵称")
	private String nickname;
	@ApiModelProperty("状态：0正常，1注销，2禁用")
	private String status;
	@ApiModelProperty("注册时间开始")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date registerTimeStart;
	@ApiModelProperty("注册时间结束")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private Date registerTimeEnd;

}
